<template>
  <div id="warehouse">
    <div class="order" v-if="true" @click="goDaishou">
      <p>您有一个收货订单正在路上…</p>
      <img src="../../../assets/youjiantou.png" alt="">
    </div>
    <div class="cont">
      <div class="top">酒店内商品清单</div>
      <div class="list">
        <div class="li">
          <img src="../../../assets/del2.png" alt="">
          <div class="del">
            <p>南极人睡衣女冬季法兰绒加厚啊哈哈哈哈哈哈哈哈哈哈哈哈或更换</p>
            <span>数量： 98件</span>
          </div>
        </div>
        <div class="li">
          <img src="../../../assets/del1.png" alt="">
          <div class="del">
            <p>杜蕾斯 避孕套 男用 安全套超薄尊享…</p>
            <span>数量： 102件</span>
          </div>
        </div>
        <div class="li">
          <img src="../../../assets/del3.png" alt="">
          <div class="del">
            <p>护理型牙刷（深洁型）2支装 一万…</p>
            <span>数量： 26件</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Warehouse',
  created () {
    document.title = '仓库商品管理'
  },
  methods: {
    goDaishou () {
      this.$router.push({name: 'Daishou'})
    }
  }
}
</script>

<style lang='scss' scoped>
#warehouse{
  .order{
    height: 14.66vw;
    background-color: #fff;
    margin-bottom: 4vw;
    padding: 0 3.46vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius:2px;
    img{
      width: 2.4vw;
    }
    p{
      font-size: 4.53vw;
      font-family:SourceHanSansCN-Bold;
      font-weight:bold;
      color:rgba(10,109,255,1);
    }
  }
  .cont{
    background-color: #fff;
    .top{
      padding: 5.33vw 3.46vw 4vw 3.46vw;
    }
    .list{
      .li{
        height: 14.06vw;
        display: flex;
        padding: 4vw 3.46vw;
        img{
          width: 13.06vw;
          height: 13.06vw;
          margin-right: 2vw;
        }
        .del{
          p{
            width: 78.66vw;
            font-size: 4.53vw;
            font-family:SourceHanSansCN-Bold;
            font-weight:bold;
            color:rgba(22,22,22,1);
            line-height: 6.8vw;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            height: 6.8vw;
          }
          span{
            font-size: 3.2vw;
            font-family:SourceHanSansCN-Regular;
            font-weight:400;
            color:rgba(22,22,22,1);
            line-height: 4.8vw;
          }
        }
      }
    }
  }
}
</style>
